package com.bw.service.impl;

import com.bw.entity.TbUserTem;
import com.bw.entity.vo.UserTemVo;
import com.bw.mapper.UserTemMapper;
import com.bw.service.UserTemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@SuppressWarnings("all")
public class UserTemServiceImpl implements UserTemService {
    @Autowired
    private UserTemMapper userTemMapper;
    //用户组列表
    @Override
    public List<UserTemVo> usertemlist(String mohu) {
        return userTemMapper.usertemlist(mohu);
    }
    //批量删除
    @Override
    public String[] temdel(String id) {
        return userTemMapper.temdel(id);
    }

    @Override
    public TbUserTem temadd(TbUserTem userTem) {
        return userTemMapper.temadd(userTem);
    }
    @Override
    public TbUserTem updUserList(TbUserTem userTem) {
        return userTemMapper.updUserList(userTem);
    }

    @Override
    public TbUserTem findByUserId(int id) {
        return userTemMapper.findByUserId(id);
    }
}
